package edu.sctu.zhuyingzhi.month201505.day20150512.abstractTwo;
import java.util.*;
/**
 * Created by user13 on 2015/5/12.
 */
public class TextChildTen extends AbstractArray{
    Students[] Array;
    public TextChildTen(Students[] Array) {
        super(Array);
       this.Array=Array;
    }

    @Override
    public List<Students> getSystem() {
        List<Students> list = new ArrayList<Students>();

        for(int i = 0;i<10;i++){
            if(Array[i].getNumber()>60)
                if(Array[i].getSex().equals("男"+i))
                    list.add(Array[i]);
        }
        return list;
    }
}
